﻿@{
    ViewBag.Title = "首页";
}
<div class="smaller-container">
    <div class="miniNavWraper">
        <span>首页&nbsp;</span><span class="iconfont icon-you">&nbsp;饰品商城&nbsp;</span><span class="add"></span>
    </div>

    <div class="market-header">
        <div class="type-wrapper">
            <div class="type-item" value="1" name=" 手柄">
                <div class="icon bs"></div>
                <p>手柄</p>
            </div>
            <div class="type-item" value="2" name=" 手枪">
                <div class="icon sq"></div>
                <p>手枪</p>
            </div>
            <div class="type-item" value="3" name=" 步枪">
                <div class="icon bq"></div>
                <p>步枪</p>
            </div>
            <div class="type-item" value="4" name=" 冲锋枪">
                <div class="icon cfq"></div>
                <p>冲锋枪</p>
            </div>
            <div class="type-item" value="5" name=" 散弹枪">
                <div class="icon sdq"></div>
                <p>散弹枪</p>
            </div>
            <div class="type-item" value="6" name=" 机枪">
                <div class="icon jq"></div>
                <p>机枪</p>
            </div>
            <div class="type-item" value="7" name=" 手套">
                <div class="icon st"></div>
                <p>手套</p>
            </div>
            <div class="type-item" value="8" name=" 印花">
                <div class="icon"></div>
                <p>印花</p>
            </div>
            <div class="type-item" value="9" name=" 其他">
                <div class="icon qt"></div>
                <p>其他</p>
            </div>
        </div>
        <div class="search-wrapper">
            @using (Html.BeginForm("SearchGoods", "Store", FormMethod.Get))
            {
                <input type="text" name="name" value="@ViewBag.Name" class="i_Text" placeholder="输入物品名称" size="30" style="width: 150px;">
                <input type="submit" value="搜索" />
            }
        </div>
    </div>
    <div class="goods-header">
        <ul>
            <li class="on" value="0">默认</li>
            <li value="1">价格↑</li>
            <li value="2">价格↓</li>
        </ul>
    </div>
    <div class="goods-container">
        @{Html.RenderAction("GoodsClassificationPatialView", "Store", new { type = 0, name = ViewBag.Name });}

    </div>
</div>
@section css{
    <link href="~/Content/css/iconfont.css" rel="stylesheet" />
    <link href="~/Content/css/GoodsClassification.css" rel="stylesheet" />
    <link href="~/Content/css/GoodsClassicationPatialView.css" rel="stylesheet" />
}
@section scripts{
    <link href="~/Content/css/miniWrapper.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-3.3.1.min.js"></script>
    <script src="~/Scripts/GoodsClassificationPatialView.js"></script>
    <script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>
}
